export default function scoringTrend (data24, data48, data72, data73) {
  var option = {
    xAxis: {
      type: 'category',
      boundaryGap: false,
      splitLine: { show: false },
      data: ['0', '24小时', '48小时', '72小时', ''],
      axisLine: {
        lineStyle: {
          color: '#eeeeee',
          width: 1 // 这里是为了突出显示加上的
        }
      },
      axisLabel: {
        color: '#5c6781',
        fontFamily: '宋体'
      }
    },
    yAxis: {
      type: 'value',
      splitLine: { show: false },
      axisLine: {
        lineStyle: {
          color: '#eeeeee',
          width: 1 // 这里是为了突出显示加上的
        }
      },
      axisLabel: {
        color: '#5c6781',
        fontFamily: '宋体'
      }
    },
    grid: {
      left: '10px',
      right: '20px',
      bottom: '10px',
      top: '14px',
      containLabel: true
    },
    legend: {
      data: ['风险处置个数'],
      textStyle: {
        color: '#5c6781',
        fontFamily: '宋体'
      }
    },
    series: [
      {
        smooth: true,
        // 0-24
        data: data24,
        type: 'line',
        borderWidth: 0,
        areaStyle: {
          color: '#52CB7B'
        }
      },
      {
        smooth: true,
        // 24-48
        data: data48,
        type: 'line',
        borderWidth: 0,
        areaStyle: {
          color: '#FFD140'
        }
      },
      { smooth: true,
        // 48-72
        data: data72,
        borderWidth: 0,
        type: 'line',
        areaStyle: {
          color: '#FE9901'
        }
      },
      { smooth: true,
        // 72以后
        name: '风险处置个数',
        data: data73,
        borderWidth: 0,
        type: 'line',
        areaStyle: {
          color: '#FF3334'
        }
      }]
  }
  return option
}
